<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title><?=$system['sys_title']?> | 管理登陆</title>

    <link href="<?=base_url("assets/css/bootstrap.min.css")?>" rel="stylesheet">
    <link href="<?=base_url("assets/font-awesome/css/font-awesome.css")?>" rel="stylesheet">

    <link href="<?=base_url("assets/css/animate.css")?>" rel="stylesheet">
    <link href="<?=base_url("assets/css/style.css")?>" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="loginColumns animated fadeInDown">
        <div class="row">

            <div class="col-md-6">
                <h2 class="font-bold"><?=$system['sys_title']?>管理登陆</h2>

                <p>
                   输入管理员用户和密码以登陆系统。
                </p>
                <p>
                   登陆后可以管理客户资料。
                </p>
                <p>
                   登陆若遇到问题请与系统管理员联系。
                </p>



            </div>
            <div class="col-md-6">
                <div class="ibox-content">
				<?= validation_errors(); ?>
				<?if(isset($msg)){?>
				<div class="alert alert-danger">
					<?=$msg?>
				</div>
				<?}?>
					<form class="m-t form-horizontal" role="form" action="<?=site_url("pages/login")?>" method="post">
						<div class="form-group">
							<label class="col-sm-3 control-label">账号</label>
							<div class="col-sm-9"><input type="text" class="form-control" name="username" value="<?=set_value('username')?>" required></div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">密码</label>
							<div class="col-sm-9"><input type="password" class="form-control" name="password" value="<?=set_value('password')?>" required></div>
						</div>
                        
                        <button type="submit" class="btn btn-primary block full-width m-b">登陆</button>

                        <!--<a href="#">
                            <small>Forgot password?</small>
                        </a>
-->
                        <!--<p class="text-muted text-center">
                            <small>没有账号?</small>
                        </p>
                        <a class="btn btn-sm btn-white btn-block" href="<?=site_url("enterprise/pages/regist")?>">注册企业账号</a>-->
                    </form>
                    <p class="m-t">
                        <small></small>
                    </p>
                </div>
            </div>
        </div>
        <hr/>
        <div class="row">
            <div class="col-md-6">
               京ICP备 16050756号-1 
            </div>
            <div class="col-md-6 text-right">
                Copyright 振鹭网络科技 &copy; <?=date('Y')?>
            </div>
        </div>
    </div>

</body>

</html>
